ForeColor

When working in DRAW mode this property returns and sets the foreground color used to display text and shapes created with graphics methods.

When working in EDIT mode this property returns and sets the color used to draw shapes of ellipses and boxes created by pressing the left button of the mouse.

Syntax: imaG.ForeColor = color
color (OLE_COLOR) Value or constant that determines the fore color.

Default Value: &H80000012 ButtonText

This is a standard Microsoft Visual Basic property.

If you are using this property with a palettized image, then the color selected must be contained in the image's palette. If it is not, then the closest color found in the image's palette is used.

See also FillColor , FillStyle , EditColorRight